<template>
    <div class="container">
        <h3>hello</h3>
    </div>
</template>

<script>

    //import { Message } from 'element-ui'

    // 1 创建组件

    // 2 注册组件

    // 3 调用组件

    export default {
        mounted() {
            console.log('Component mounted.')
        },
        methods:{
            msg(){
                console.log("msg");
               /* Message({
                    showClose: true,
                    message: "提示信息",
                    type: 'error',
                    duration: 1000
                })*/
            }
        }
    }
</script>
